package cn.ssm.biz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.ssm.pojo.Pager;
import cn.ssm.pojo.Student;
import cn.ssm.query.StudentQuery;

public interface StudentBiz {

	public int addStudent(Student s );
	
	public List<Student> findStudent(Pager pager);
	
	public List<StudentQuery> findStudent1(Pager pager);
	
	
	public int delStudent(int id);
	
	public int UpdateStudent(Student s );
	
	public Student findStuById(int id);
	
	
	public int findStuCountByClassId(int classId);
	public int findStuCount();
	public List<StudentQuery> selectStudentlistByClassId(int classId,Pager pager);
	public List<Student> getStuByUserName(String userName);
}
